package com.yzc.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yzc.model.entity.order.TOrders;
import com.yzc.model.query.order.TOrdersReq;
import com.yzc.model.vo.order.MyOrdersVo;
import com.yzc.model.vo.order.RushOrdersVo;
import com.yzc.model.vo.order.TOrdersVo;

import java.util.List;

/**
* @author Yzc
* @description 针对表【t_orders】的数据库操作Service
* @createDate 2024-11-25 19:49:09
*/
public interface TOrdersService extends IService<TOrders> {

    List<TOrdersVo> loadAllOrderList();

    List<MyOrdersVo> loadMyOrdersList(Integer id);

    List<RushOrdersVo> rushOrdersList();

    void accomplishOrder(Integer id);

    void rushOrderByVersion(Integer id, Integer userId);

    void saveOrderInfo(TOrdersReq tOrdersReq);
}
